package com.anxin.osbProinstErrInfor.entity;

//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.anxin.framework.aspectj.lang.annotation.Excel;
import com.anxin.framework.web.entity.BaseEntity;

/**
 * 流程返回错误信息表对象 osb_proinst_err_infor
 *
 * @author jbs
 * @date 2024-03-08
 */
//@ApiModel(description = "流程返回错误信息表")
public class OsbProinstErrInfor extends BaseEntity<OsbProinstErrInfor>{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    //@ApiModelProperty(value = "${comment}",position=20)
    private String parentId;

    /** 错误代码 */
    //@ApiModelProperty(value = "错误代码",position=30)
    private String errorCode;

    /** 错误名称 */
    //@ApiModelProperty(value = "错误名称",position=40)
    private String errorName;

    /** 错误消息 */
    //@ApiModelProperty(value = "错误消息",position=50)
    private String errorMessage;

    /** 唯一关键字 */
    //@ApiModelProperty(value = "唯一关键字",position=60)
    private String priKey;

    /**  出错的实体名 */
    //@ApiModelProperty(value = " 出错的实体名",position=70)
    private String entityName;

    public void setParentId(String parentId){
        this.parentId = parentId;
    }

    public String getParentId(){
        return parentId;
    }
    public void setErrorCode(String errorCode){
        this.errorCode = errorCode;
    }

    public String getErrorCode(){
        return errorCode;
    }
    public void setErrorName(String errorName){
        this.errorName = errorName;
    }

    public String getErrorName(){
        return errorName;
    }
    public void setErrorMessage(String errorMessage){
        this.errorMessage = errorMessage;
    }

    public String getErrorMessage(){
        return errorMessage;
    }
    public void setPriKey(String priKey){
        this.priKey = priKey;
    }

    public String getPriKey(){
        return priKey;
    }
    public void setEntityName(String entityName){
        this.entityName = entityName;
    }

    public String getEntityName(){
        return entityName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("errorCode", getErrorCode())
            .append("errorName", getErrorName())
            .append("errorMessage", getErrorMessage())
            .append("priKey", getPriKey())
            .append("entityName", getEntityName())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
